# encoding: utf-8

def email_login_websit(email):
    email_type = email.split("@")[1]
    website = ""
    if email_type == "163.com":
        website = "https://mail.163.com"
    elif email_type == "qq.com":
        website = "https://mail.qq.com"
    return website

def format_user_status(status):
    if status:
        return "正常"
    else:
        return "停用"